package com.woniuxy.commons.entity.sale;

import com.alibaba.excel.annotation.ExcelProperty;
import com.woniuxy.commons.annotations.MyDictCode;
import com.woniuxy.commons.annotations.MyExcel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (Product)实体类
 *
 * @author makejava
 * @since 2022-04-18 20:02:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ApiModel(value = "(Product)实体类")
public class Product1 implements Serializable {
    private static final long serialVersionUID = 200492720371680212L;

    @ApiModelProperty(value = "产品id")
    private Integer productId;

    @ApiModelProperty(value = "产品信息")
    private String productInfo;

    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "产品编号")
    private String productCode;

    @ApiModelProperty(value = "客户")
    private String customer;


    @MyDictCode(value = "REGION", dictName = "区域")
    @ApiModelProperty(value = "区域")
    private String region;

    @MyDictCode(value = "CONDITION", dictName = "成色")
    @ApiModelProperty(value = "成色")
    private String condition;

    @ApiModelProperty(value = "重量")
    private Integer weight;

    @ApiModelProperty(value = "数量")
    private Integer amount;

    @MyDictCode(value = "PER_GRAM", dictName = "克供费")
    @ApiModelProperty(value = "克供费")
    private Integer perGram;


    @ApiModelProperty(value = "产品状态")
    private String productStatus;

    @MyDictCode(value = "region", isSon = true, dictName = "所属仓库")
    @ApiModelProperty(value = "所属仓库")
    private String depository;

    @MyDictCode(value = "WORKMANSHIP", dictName = "产品工艺")
    @ApiModelProperty(value = "产品工艺")
    private String workmanship;

    @MyDictCode(value = "ITEM_TYPE", dictName = "单品还是通品")
    @ApiModelProperty(value = "单品还是通品")
    private String singleOrNormal;

    @MyDictCode(value = "CATEGORY", dictName = "产品品类")
    @ApiModelProperty(value = "产品品类")
    private String productType;

}

